<template>
  <div id="Login">
    <h3 class="c-title">深圳市自卸车行业协会管理平台</h3>
    <h3 class="c-title--strong">协会用户版</h3>
    <main class="l-main">
      <ul class="c-form">
        <li class="c-form__item"><label class="c-form__label">帐号</label><input placeholder="请输入" class="c-form__input"
                                                                               type="text"></li>
        <li class="c-form__item"><label class="c-form__label">密码</label><input placeholder="请输入" class="c-form__input"
                                                                               type="text"></li>
      </ul>
      <button class="c-button--strong" @click="$pushRoute('../../home/main')">登录系统</button>
      <button class="c-button" @click="$pushRoute('../reset-password/main')">忘记密码</button>
      <button class="c-button" @click="$pushRoute('../register/main')">注册新账号</button>
    </main>
  </div>

</template>

<script>
  export default {
    name: "Login",
    data() {
      return {}
    },
    methods: {},
    computed: {},
    created() {
    }
  }
</script>

<style scoped lang="scss">
  @import "../../../assets/common";

  #Login {
    .c-title {
      margin-top: 20px;
      font-size: 20px;
      text-align: center;
      font-weight: bold;
      &--strong {
        @extend .c-title;
        color: #0081ff;
      }
    }
    .l-main {
      margin: 30px 20px 0;
      background: #1cbbb4;
      box-sizing: border-box;
      padding: 30px 20px;
      position: relative;
      border-radius: 6px;
      @include shadow-blur;
    }
    .c-form {
      margin-bottom: 30px;
      &__item {
        @include alignCenter;
        margin-bottom: 10px;
      }
      &__label {
        color: white;
        font-size: 18px;
      }
      &__input {
        margin-left: 26px;
        flex: 1;
        padding: 0 8px;
        height: 32px;
        width: 100%;
        border: 1px solid #e9e9e9;
        border-radius: 2px;
        outline: none;
        background: rgb(232, 240, 254);
      }
    }
    .c-button {
      width: 80%;
      margin: 10px auto 0;
      @include flex-center;
      font-size: 16px;
      color: white;
      background: #519eec;
      padding: 10px 0;
      box-shadow: 0 5px 5px -3px #90abcc;
      &--strong {
        @extend .c-button;
        background: #0081ff;
      }
    }
  }
</style>
